<?php /* Smarty version 2.6.11, created on 2011-06-21 15:42:34
         compiled from classified_release.php */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'math', 'classified_release.php', 61, false),array('modifier', 'str_repeat', 'classified_release.php', 62, false),array('modifier', 'default', 'classified_release.php', 142, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发布信息</title>
<link href="<?php echo $this->_tpl_vars['attr']['url']; ?>
/style/main.css" rel="stylesheet" media="screen" type="text/css" />
<link href="<?php echo $this->_tpl_vars['attr']['url']; ?>
/style/index.css" rel="stylesheet" media="screen" type="text/css" />
<link href="<?php echo $this->_tpl_vars['attr']['url']; ?>
/style/member.css" rel="stylesheet" type="text/css" />
<style>
.attention{display:none;}
.field_text{width:auto;}
.form_box{width:960px;}
</style>
</head>

<body>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "head.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div class="box">
<!--top--><!--top end-->
<!--head start-->
<div id="menu">
	<div class="menu_1">
	<ul>
	<li>发布信息 <span style="font-size:12px;font-weight:500"></span></li>
	</ul>
	</div>
</div>
    
<!--head end-->
<div id="wrapper">
<!--content start-->
<div id="contert">
	  <div class="reg_form">
	  <div class="form_box">
			<form id="register" action="" method="post" >
			 <div class="input email">
               <div style="float:left;">
           	     <label>信息类型:</label>
                <select name="type" class="field_text">
                <?php $_from = $this->_tpl_vars['infotype']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['val']):
?>
                <option value="<?php echo $this->_tpl_vars['val']['name']; ?>
"><?php echo $this->_tpl_vars['val']['name']; ?>
</option>
                <?php endforeach; endif; unset($_from); ?>
                </select>
                </div>
                <div class="attention"></div>
                     <p class="span_ex">(必须填写真实有效的邮箱才能接收email并激活账号)</p>
         	  </div>
		      <div class="input">
               <div style="float:left;">
           	     <label>标题:</label>
            	    <input type="text" name="title" value="<?php echo $this->_tpl_vars['classified']['title']; ?>
"  size="60" class="field_text" />
                </div>
                <div class="attention"></div>
                     <p class="span_ex">必填</p>
         	  </div>
			   <div class="input">
               <div style="float:left;">
            	    <label>所属栏目:</label>
            	    <select name="classid" class="field_text">
                     <?php $_from = $this->_tpl_vars['columns']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['val']):
?>
                     <?php echo smarty_function_math(array('equation' => "(x*y)",'x' => $this->_tpl_vars['val']['level'],'y' => 1,'assign' => 'le'), $this);?>

                     <option value="<?php echo $this->_tpl_vars['val']['classid']; ?>
"<?php if ($this->_tpl_vars['val']['classid'] == $this->_tpl_vars['column']['classid']): ?> selected="selected"<?php endif; ?>><?php echo ((is_array($_tmp='——')) ? $this->_run_mod_handler('str_repeat', true, $_tmp, $this->_tpl_vars['le']) : str_repeat($_tmp, $this->_tpl_vars['le']));  echo $this->_tpl_vars['val']['classname']; ?>
</option>
                     <?php endforeach; endif; unset($_from); ?>
                     </select>
                </div>
                <div class="attention"></div>
                     <p class="span_ex">必填</p>
         	  </div>
			   <div class="input">
               <div style="float:left;">
            	    <label>图片:</label>
            	    <input type="text" name="pic" value="<?php echo $this->_tpl_vars['classified']['pic']; ?>
"  size="60" class="field_text" />
                </div>
                <div class="attention"></div>
                     <p class="span_ex">必填</p>
         	  </div>
			  <div class="input">
               <div style="float:left;">
            	    <label>联系人:</label>
            	    <input type="text" name="contact" value="<?php echo $this->_tpl_vars['classified']['contact']; ?>
" class="field_text" />
                </div>
                <div class="attention"> 
                
                
                 </div>
                 <p class="span_ex"></p>
         	  </div>
			  <div class="input">
               <div style="float:left;">
            	    <label>联系电话:</label>
            	    <input type="text" name="tel" value="<?php echo $this->_tpl_vars['classified']['tel']; ?>
"  size="60" class="field_text" />
                </div>
                <div class="attention"> 
                
                
                 </div>
                 <p class="span_ex"></p>
         	  </div>
			  <div class="input">
               <div style="float:left;">
            	    <label>QQ号码:</label>
            	    <input type="text" name="qq" value="<?php echo $this->_tpl_vars['classified']['qq']; ?>
"  size="60" class="field_text" />
                </div>
                <div class="attention"> 
                
                
                </div>
                 <p class="span_ex"></p>
         	  </div>  
			  <div class="input">
               <div style="float:left;">
            	    <label>联系邮箱:</label>
            	    <input type="text" name="email" value="<?php echo $this->_tpl_vars['classified']['email']; ?>
"  size="60" class="field_text" />
                </div>
                <div class="attention"> 
                
                
                 </div>
                 <p class="span_ex"></p>
         	  </div> 
			  <div class="input">
               <div style="float:left;">
            	    <label>所在地:</label>
            	    <input type="text" name="location" value="<?php echo $this->_tpl_vars['classified']['location']; ?>
"  size="60" class="field_text" />
                </div>
                <div class="attention"> 
                 </div>
                 <p class="span_ex"></p>
         	  </div>
              <div class="input">
               <div style="float:left;">
            	    <label>过期日期:</label>
            	    <input type="text" name="passdate" value="<?php echo $this->_tpl_vars['classified']['passdate']; ?>
"  size="60" class="field_text" />
                </div>
                <div class="attention"> 
                 </div>
                 <p class="span_ex"></p>
         	  </div> 
              <div class="input">
               <div style="float:left;">
            	    <label>发布人IP:</label>
            	    <input type="text" name="ip" value="<?php echo ((is_array($_tmp=@$this->_tpl_vars['classified']['ip'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['ip']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['ip'])); ?>
"  size="60" class="field_text" />
                </div>
                <div class="attention"> 
                 </div>
                 <p class="span_ex"></p>
         	  </div> 
              <div class="input">
               <div style="float:left;">
            	    <label>信息简介:</label>
            	    <textarea name="info" id="info" cols="45" rows="5" class="field_text"><?php echo $this->_tpl_vars['classified']['info']; ?>
</textarea>
                </div>
                <div class="attention"> 
                 </div>
                 <p class="span_ex"></p>
         	  </div> 
              <div class="input">
               <div style="float:left; width:auto;">
            	    <label>信息内容:</label>
            	    <textarea name="content" id="content" cols="35" rows="5" class="field_text" style="width:500px;float:left;"><?php echo $this->_tpl_vars['classified']['content']; ?>
</textarea>
                </div>
                <div class="attention"> 
                 </div>
                 <p class="span_ex"></p>
         	  </div>                                                   
              <div class="input">
              	<input type="hidden" name="ref" id="ref" />
                <input type="hidden" name="url" id="url" />
                <input type="image" id="button" width="105px" height="33px" src="<?php echo $this->_tpl_vars['attr']['url']; ?>
style/images/zhuce.gif" border="0" style="margin-left:80px;" onclick="return checkFrom();" />
              </div>
        </form>
      </div>
		</div>
		<div style="clear:both"></div>
  </div>

<!--content end-->
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script language="javascript">
document.getElementById("ref").value	= encodeURIComponent(document.referrer.toString());
document.getElementById("url").value	= encodeURIComponent(document.location.href.toString());
</script>
</body>
</html>